package com.atguigu.srb.core.util;


import com.atguigu.srb.core.mapper.UserInfoMapper;
import com.atguigu.srb.core.pojo.entity.UserInfo;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class UserInfoUtil {

    @Resource
    private UserInfoMapper userInfoMapper;


    public UserInfo getUserInfoById(Long userId) {

        return userInfoMapper.selectById(userId);
    }



}
